package com.ruoyi.meterManager.mapper;


import com.ruoyi.meterManager.domain.MeterPicture;
import com.ruoyi.meterManager.domain.requestDto.BaseQueryDto;
import com.ruoyi.meterManager.domain.requestDto.UpdateMrEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 抄表照片 数据层
 * 
 * @author chenhenan
 */
public interface MeterPictureMapper {

    /**
     * 插入照片数据
     * @param meterPicture
     */
    public void insertPicture(MeterPicture meterPicture);

    public void deletePictureByMiid(Map map);
    /**
     * 获取自抄表列表
     * @param baseQueryDto
     * @return
     */
    List<Map> getZcbList(BaseQueryDto baseQueryDto);

    /**
     * 获取自抄表用户详情
     * @param baseQueryDto
     * @return
     */
    Map getZcbDetail(BaseQueryDto baseQueryDto);


    Map getZcbDetail1(BaseQueryDto baseQueryDto);


    List<Map> getZcbDetailPicture(BaseQueryDto baseQueryDto);

    /**
     * 获取自抄表拒绝理由
     * @return
     */
    String getZcbRefuseReason(@Param("memo")String memo, @Param("lx")String lx);

    /**
     * 获取自抄表拒绝列表
     * @return
     */
    List<Map> getZcbRefuseReasonList();

    /**
     * 自抄表审核
     * @param meterPicture
     */
    void checkZcb(MeterPicture meterPicture);



}
